﻿using System.ComponentModel.DataAnnotations;
using YNTK.Dependency;

namespace YNTK.FileRecord.Entitys
{
    /// <summary>
    /// 添加文件清单请求模型
    /// </summary>
    [SuppressSniffer]
    public class AddFileInventoryRequestModel
    {
        /// <summary>
        /// 文件清单分类id
        /// </summary>
        [Required(ErrorMessage = "文件清单分类标识不能为空")]
        public string classifyId { get; set; }

        /// <summary>
        /// 工作项/事项
        /// </summary>
        [Required(ErrorMessage = "工作项/事项不能为空")]
        public string workItem { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        [Required(ErrorMessage = "编号不能为空")]
        public string code { get; set; }

        /// <summary>
        /// 表单样服务器存储路径
        /// </summary>
        public string sampleFormFilePath { get; set; }

        /// <summary>
        /// 备注/描述/说明
        /// </summary>
        public string description { get; set; }

        /// <summary>
        /// 排序码
        /// </summary>
        public long? sortCode { get; set; }

        /// <summary>
        /// 启用/禁用,1.启用
        /// </summary>
        public int? enabledMark { get; set; }
    }
}
